Server Watch Plugin SDK Date: 6 Feb 2004
Release: 1.0
Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

SWError.h File Reference

#include <memory>

Include dependency graph for SWError.h:

Include dependency graph

Go to the source code of this file.

Classes

class  SWError
 The SWError class allows you to post error messages to the Server Watch error console. More...

Defines

#define AFX_SWERROR_H__4812BCB5_15D1_41BA_B301_875749CA0448__INCLUDED_
#define SWSERVICES_API   __declspec(dllimport)
#define SWERROR_MESSAGE(strCaption, strMessage)
#define SWDEBUG_ERROR(strCaption, strMessage)   SWDEBUG_ERROR_IMPL(strCaption, strMessage)
#define SWDEBUG_ERROR_IMPL(strCaption, strMessage)   ((void)0)

Variables

SWSERVICES_API CErrorDestroyer


Define Documentation

#define AFX_SWERROR_H__4812BCB5_15D1_41BA_B301_875749CA0448__INCLUDED_
 

#define SWSERVICES_API   __declspec(dllimport)
 

#define SWERROR_MESSAGE strCaption,
strMessage   ) 
 

Value:

do{ SWError::GetInstance()->SetError(strCaption, strMessage ); \ } while (0)
Posts a new error message to the Server Watch error console.
Parameters:
strCaption The error heading text. This usually defines the topic the error fits under.
strMessage The text of the actual error.

#define SWDEBUG_ERROR strCaption,
strMessage   )     SWDEBUG_ERROR_IMPL(strCaption, strMessage)
 

Posts a new error message to the Server Watch error console if the plugin was compiled in debug mode.

Parameters:
strCaption The error heading text. This usually defines the topic the error fits under.
strMessage The text of the actual error.

#define SWDEBUG_ERROR_IMPL strCaption,
strMessage   )     ((void)0)
 


Variable Documentation

class SWSERVICES_API CErrorDestroyer
 



Copyright (c) 2003-2004, Deep Fried Software. All rights reserved.